package com.lagou.rpc.provider.zkUtil;

import org.I0Itec.zkclient.ZkClient;

/**
 * @Description: TODO
 * @Author 50705 2021/11/19
 **/
public class ZKClientUtil {

    public static String zkInfo = "10.35.227.208:2181";

    public static String pathPre = "/ly-zkClient/rpc";

    public static String Server_IP = "127.0.0.1";
    public static int Server_Port = 8899;

    public static ZkClient zkClient;

    static {
        zkClient = new ZkClient(zkInfo);
    }

    private ZKClientUtil(){

    }

    public static ZkClient getInstance(){
        return zkClient;
    }

}
